package com.fastbee.iot.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonStatisVo {
    @ApiModelProperty("横坐标")
    private String name;
    @ApiModelProperty("纵坐标")
    private BigDecimal value = BigDecimal.ZERO;
    @ApiModelProperty("纵坐标")
    private int valueSort = 0;
    @ApiModelProperty("同比")
    private BigDecimal lastValue = BigDecimal.ZERO;
    private BigDecimal lastValueRate = BigDecimal.ZERO;
    @ApiModelProperty("环比")
    private BigDecimal lastBigValue = BigDecimal.ZERO;
    private BigDecimal lastBigValueRate = BigDecimal.ZERO;
}